package com.zzyl.mapper;

import com.github.pagehelper.Page;
import com.zzyl.entity.NursingLevel;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface NursingLevelMapper {

    int addNursingLevel(NursingLevel nursingLevel);

    int deleteNursingLevelById(int id);

    int updateNursingLevel(NursingLevel nursingLevel);

    NursingLevel getNursingLevelById(int id);

    Page<NursingLevel> pageNursingLevel(String name, Integer status);

    List<NursingLevel> getAllNursingLevel();
}
